package com.c.ctgproject.entity.guang

import com.c.ctgproject.entity.OldPhotoVideoEntity
import java.io.Serializable

class CarInfoEntityV2 {
    /**
     * msg :
     * data : {"carId":25,"carCode":null,"carType":2,"carStatus":1,"carSource":"Aaaaa","carVin":"Aaaaaa","carModel":"Aaaaaa","carPlate":"Aaaaaa","energy":1,"hasBattery":null,"logisticsNo":"","logisticsCompany":"","sendAddress":"","receiveAddress":"","logisticsPlate":"","toll":null,"pound":0,"entrance":1,"carCheck":0,"oilWaterDrainage":1,"batteryDisassemble":0,"pretreatment":0,"dismantle":0,"dismantleType":null,"purchaseWeight":222,"purchasePoundNo":"Aaaaaaa","poundWeight":null,"poundNo":null,"poundPicture":null,"poundPersonName":null,"poundTime":null,"createTime":"2021-09-09 13:48:44","createPersonName":"13300000000","partsId":null,"chassis":null,"engine":null,"transmissionCase":null,"hub":null,"tyre":null,"ternaryCatalysis":null,"battery":null,"powerBattery":null,"starter":null,"alternator":null,"waterTank":null,"airConditioner":null,"couplingMotor":null}
     * success : true
     * status : 1
     */
    var msg: String? = null
    var data: DataBean? = null
    var isSuccess: Boolean? = null
    var status: Int? = null

    class DataBean : Serializable {
        /**
         * carId : 25
         * carCode : null
         * carType : 2
         * carStatus : 1
         * carSource : Aaaaa
         * carVin : Aaaaaa
         * carModel : Aaaaaa
         * carPlate : Aaaaaa
         * energy : 1
         * hasBattery : null
         * logisticsNo :
         * logisticsCompany :
         * sendAddress :
         * receiveAddress :
         * logisticsPlate :
         * toll : null
         * pound : 0
         * entrance : 1
         * carCheck : 0
         * oilWaterDrainage : 1
         * batteryDisassemble : 0
         * pretreatment : 0
         * dismantle : 0
         * dismantleType : null
         * purchaseWeight : 222.0
         * purchasePoundNo : Aaaaaaa
         * poundWeight : null
         * poundNo : null
         * poundPicture : null
         * poundPersonName : null
         * poundTime : null
         * createTime : 2021-09-09 13:48:44
         * createPersonName : 13300000000
         * partsId : null
         * chassis : null
         * engine : null
         * transmissionCase : null
         * hub : null
         * tyre : null
         * ternaryCatalysis : null
         * battery : null
         * powerBattery : null
         * starter : null
         * alternator : null
         * waterTank : null
         * airConditioner : null
         * couplingMotor : null
         */
        var carId: Int? = null
        var carCode: Any? = null
        var carType: Int? = null
        var carStatus: Int? = null
        var carSource: String? = null
        var carVin: String? = null
        var carModel: String? = null
        var carPlate: String? = null
        var carEngine: String? = null

        var energy: Int? = null
        var hasBattery: Int? = null
        var logisticsNo: String? = null
        var logisticsCompany: String? = null
        var sendAddress: String? = null
        var receiveAddress: String? = null
        var driverName: String? = null
        var logisticsPlate: String? = null
        var logisticsCost: String? = null
        var toll: Any? = null
        var pound: Int? = null
        var entrance: Int? = null
        var carCheck: Int? = null
        var oilWaterDrainage: Int? = null
        var batteryDisassemble: Int? = null
        var pretreatment: Int? = null
        var dismantle: Int? = null
        var dismantleType: Int? = null
        var purchaseWeight: Double? = null
        var purchasePoundNo: String? = null
        var poundWeight: Any? = null
        var poundNo: Any? = null
        var poundPicture: String? = null
        var poundPersonName: Any? = null
        var poundTime: Any? = null
        var createTime: String? = null
        var createPersonName: String? = null
        var partsId: Int? = null
        var chassis: Int? = null
        var engine: Int? = null
        var transmissionCase: Int? = null
        var hub: Int? = null
        var tyre: Int? = null
        var ternaryCatalysis: Int? = null
        var battery: Int? = null
        var powerBattery: Int? = null
        var starter: Int? = null
        var alternator: Int? = null
        var rejectReason: String? = null
        var rejectName:String?=null
        var preRemark: String? = null
        var waterTank: Int? = null
        var airConditioner: Int? = null
        var couplingMotor: Int? = null
        var entrancePictures : ArrayList<String>?=null
        var carPartsList : ArrayList<CarPartsListBean>?=null
        var carPictures : ArrayList<carPicturesItem>?=null
        var batteryInfo:BatteryInfo?=null
        var batteryInfoVoList:ArrayList<BatteryInfo>?=null
         class BatteryInfo{
    var batteryCode: String?=null
    val batteryName: String?=null
    val batteryPictures: List<OldPhotoVideoEntity.DataBean.PictureBean>?=null
    val batterySelfCode: String?=null
    var capacityAh: Double?=null
    var capacityKwh: Double?=null
    var count: Int?=null
    var moduleCount: Int?=null
    var remark: String?=null
    var voltage: Double?=null
    var weight: Double?=null
}

        class carPicturesItem{
        val picType: String?=null
        val picUrls: List<String>?=null
        }

        class CarPartsListBean{
            var partsId:Int?=null
            var carId:Int?=null
            var partsName:String?=null
            var partsCount:String?=null
        }
    }

}